github.com/google/go-cmp/cmp.formatOptions.WithDiffMode (method)

7 uses

	github.com/google/go-cmp/cmp (current package)
		report_compare.go#L56: func (opts formatOptions) WithDiffMode(d diffMode) formatOptions {
		report_compare.go#L315: 				out := opts.WithDiffMode(diffIdentical).FormatDiff(r.Value, ptrs)
		report_compare.go#L327: 				out := opts.WithDiffMode(diffIdentical).FormatDiff(r.Value, ptrs)
		report_compare.go#L343: 				outx := opts.WithDiffMode(diffRemoved).FormatDiff(r.Value, ptrs)
		report_compare.go#L344: 				outy := opts.WithDiffMode(diffInserted).FormatDiff(r.Value, ptrs)
		report_compare.go#L347: 					outx = opts2.WithDiffMode(diffRemoved).FormatDiff(r.Value, ptrs)
		report_compare.go#L348: 					outy = opts2.WithDiffMode(diffInserted).FormatDiff(r.Value, ptrs)